package com.msmall.community.common.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.msmall.base.model.BaseObject;

/**
 * 等级规则
 * @author Administrator
 *
 */
@Entity
@Table(name="base_rank_rule")
public class RankRule extends BaseObject implements Serializable{

	private static final long serialVersionUID = 7057208427295981281L;

	@Id
	@Column(name="rank_rule_id")
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private Long rankRuleId;

	@Column(name="levels")
	private Integer levels;
	
	@Column(name="rank_name")
	private String rankName;

	@Column(name="score")
	private Long score;

	@Column(name="enabled")
	private Short enabled;
	
	@Column(name="description")
	private String description;

	public Long getRankRuleId() {
		return rankRuleId;
	}

	public void setRankRuleId(Long rankRuleId) {
		this.rankRuleId = rankRuleId;
	}

	public Integer getLevels() {
		return levels;
	}

	public void setLevels(Integer levels) {
		this.levels = levels;
	}

	public String getRankName() {
		return rankName;
	}

	public void setRankName(String rankName) {
		this.rankName = rankName;
	}

	public Long getScore() {
		return score;
	}

	public void setScore(Long score) {
		this.score = score;
	}

	public Short getEnabled() {
		return enabled;
	}

	public void setEnabled(Short enabled) {
		this.enabled = enabled;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public boolean equals(Object o) {
		return false;
	}

	public int hashCode() {
		return 0;
	}

	public String toString() {
		return null;
	}

}
